feat: add --public flag to agent create, fix object upload --public#229
Closed
jason-rl wants to merge 1 commit into
Closed
feat: add --public flag to agent create, fix object upload --public#229jason-rl wants to merge 1 commit into
jason-rl wants to merge 1 commit into
Conversation
Add a --public option to `agent create` that sets `is_public: true` in the API request body (field exists on the API but is hidden from the SDK/OpenAPI spec). Also fix the existing `object upload --public` flag which was defined but never passed through to the API. Both --public flags are hidden from --help output when RUNLOOP_BASE_URL is unset or points to the default runloop.ai domain, and become visible when a custom base URL is configured. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
--publicoption torli agent createthat setsis_public: truein the create API request (field exists on the API but is absent from the SDK/OpenAPI spec)--publicflag onrli object uploadwhich was defined but never passed to the API--publicflags are hidden from--helpwhenRUNLOOP_BASE_URLis unset or points to the defaultrunloop.ai, and visible when a custom base URL is configuredTest plan
npm run buildpassesnpm testpasses (587/587 unit tests)rli agent create --helphides--publicwith default domainRUNLOOP_BASE_URL=https://api.custom.dev rli agent create --helpshows--publicrli object upload --help🤖 Generated with Claude Code